#ifndef _stu_h_
#define _stu_h_

struct student{
	char name[20];
	char num[20];
	char lesson[50];
	char score[20];
};

struct Node
{
	struct student data;
	struct Node* next;
};
struct Node* creatList();
struct Node* creatNode(struct student data);
struct Node* searchNodeByAppoinNum(struct Node* listHeadNode,char *num);
void printNode(struct Node* curNode);
void deleteNodeByAppoinName(struct Node* listHeadNode,char *name);
void insertNodeByHead(struct Node* listHeadNode, struct student data);
void printList(struct Node* listHeadNode);
void readInfoFromFile1(char *fileName,struct Node* listHeadNode);
void saveInfoToFile(char  *fileName,struct Node* listHeadNode);
#endif
